clean up window rules and keep just a few