Hide rule snippet window if visible when Ruleset window is hidden