Your argument basically says "He broke the law, it doesn't matter how unfair, unjust, or down right insane the law is, the fact of the matter is, it is the law, therefore he should be in trouble for breaking it."
Do you want to know who else used to say such things? During the civil rights movement people didn't care what happened to blacks because "it was the law" the law said blacks and whites shouldn't be together in schools, and people like YOU would just be happy to sit back and say, well "it's the law" if they break it, they should be punished. I am sorry, but YOU are making a grave mistake to just follow these laws and rules blindly. Absolutely absurd.
I substituted the word law into it instead of rule. But you understand the gist of my point.