Deontology is defined as an ethical theory that the morality of an action should be based on whether that action itself is right or wrong under a series of rules, rather than based on the consequences of the action. An example of deontology is the belief that killing someone is wrong, even if it was in self-defense.
Hope that helps! :)