Added rule for frames that shouldnt be hidden