The Relation Between Ethical Codes and Moral Principles