Add window for rules (doesn't work yet)