Deontology is a theory of morality based around obeying moral rules.