Loved your answer but adding some explanations for those of us not as smart as you:
Deontological ethics or deontology (from Greek δέον, deon, "obligation, duty") is the normative ethical position that judges the morality of an action based on rules. It is sometimes described as "duty-" or "obligation-" or "rule-" based ethics, because rules "bind you to your duty."
Consequentialism is the class of normative ethical theories holding that the consequences of one's conduct are the ultimate basis for any judgment about the rightness or wrongness of that conduct.