It is most likely legal:1) You indicate that you signed the policy under which they terminated you--your agreement to that policy is enforceable, even if you did not know that it applied to managers like yourself (you could have sought clarification of that, had you wanted; the law does not exempt people from agreements they sign or enter into simply because they did not understand their obligations under them).2) The law does not generally require employers to treat employees the same--for example, as long as an employer is not discriminating on the basis of some protected characteristic (e.g. on the basis of race, religion, age over 40, sex or disability), an employer could terminate employee A for doing something which employee B also did.