Added validation for smartRules form
Fixed a problem with the checkbox in smartCategory