Hermione was really only a strict rule-follower around first year, then she started to realize that there were more important risks worth taking. Percy, however, would almost always stick to the rules, even if it meant disregarding his family at times