Well, they had the right to fire you ... I got fired just recently (for something I actually didn't do, but that's another story) also. But, dude, at work ... gotta follow the rules.