The resting on the seventh day with people having off on the weekend the weekend being a time for rest still. We still honor our parents and are supposed to have the utmost respect for our parents. A few of the commandments are the underlie what we consider the right thing to do but not because of our fear of begin condemned by God but now it is fear of breaking a moral code and shunned by the collective and having to be punished by the government but not God. When man started to form villages and towns and had to worry about more than himself. A set of rules that applied to everyone that ensure safety for the group and did not violate the individual. These rules had to protect and defend the people. The rules had to also be made as a guideline as what is not expectable in this society this could have been the basis for the Ten Commandments.
The holiness code could have been incorporated as the finer details as what is condemnable in the law of the society because the ten commandment does not state how a person is supposed to follow the laws of the society but law of the lord and how violate of the law can result in. The holiness code could have been added to show how society should punish for breaking of the Ten Commandments and what is necessary for punishment and what the punishment should be is not covered in the Ten Commandments so this is for how a society should implement it into