Added hiding if the rules