Fixed warning.
Quickfix for handling validation errors in rule command.
TODOs
UI tweaks.