moral code
noun
-
A written, formal, and consistent set of rules prescribing righteous behavior, accepted by a person or by a group of people.
moral standards
How often have the words moral code and moral standards occurred in a corpus of books? (source: Google Ngram Viewer )