TODO

Show rule details in preferences dialog
Improve documentation
Make keys configurable?
