Fixes #4235: Rule cateogry tree selection should be kept
Merge pull request #385 from VinceMacBuche/bug/4235/rule_cateogry_selecteds_hould_not_be_lost

Fixes #4235: Rule cateogry tree selection should be kept