Deontology
A philosophical theory that says the rightness or wrongness of a particular behavior should be determined by a set of existing rules, as opposed to the consequences of that action. Contrast with consequentialism