Merge pull request #383 from VinceMacBuche/bug/4231/Rule_creation_popup_not_updated

Fixes #4231, Rule categories in Rule creation popup are now up to date
Fixes #4236: Rule category and Rule creation popup now start with
selected categor