Code of law was very important because Ancient China had very strict laws and taxes that everyone had to pay.
Go with their answer it is the most simple yet smart answer