Fixes #4269: correct error on saving/creating rules
Fixes #4271: correct display of inderminate status in target for directive
Merge pull request #392 from ncharles/bug_4269/dev/error_on_creating_saving_rules

Fixes #4269: correct error on saving/creating rules
Merge pull request #393 from ncharles/bug_4271/dev/dispay_status_of_application

Fixes #4271: correct display of inderminate status in target for directive
Fixes #4274: Change selected category to category of Rules change