Separated out rules for windo positioning and custom key combinations