Another way to say "a rule is used for keeping people safe" is "To insure safety we have rules"