Added rules for floating windows