She is probably in Kohlberg's conventional stage.
This stage has to do with people who think that rules should absolutely be followed in any situation, without exception. Often they will blindly adhere to the prescribed rules, whatever the consequences. They want to maintain order in a society and believe that rules are there to help them achieve that goal.