Fixes #5923: System rule are modified when trying to delete a directive
Merge pull request #709 from fanf/bug_5923/system_rule_are_modified_when_trying_to_delete_a_directive

Fixes #5923: System rule are modified when trying to delete a directive