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