Social regulation in the codes enacted incorporate Hindu traditions and ethics