In Kohlberg's Theory of Moral Development, the third and final Level which contains the fifth and sixth stages. One becomes more flexible and is able to consider what is important to them.
Stage 5 - People still want to follow society's rules but they don't see those rules as absolute
Stage 6 - People figure out right and wrong for themselves, based on abstract ethical principles. Only a few people reach this last stage of moral reasoning.