fix NullPointerException on canceling rule dialog
Merge pull request #213 from philippwiesemann/fix-gui-dialog-cancel-exception

Fix NullPointerException on canceling rule dialog