Fix add rules UI

* The modal for adding rules did not have the "modal-view"
CSS class so it was not fitting in the dialog

* Use dialogs for the rule condition and rule action views