It doesn't have to be in the labour law! The sponsors of the labour law never even thought that someone would even agree or believe to that company rule (your company rule).