Fixes #3621 : when deleting a group, remove it from the rule as well
Merge pull request #221 from ncharles/bug_3621/dev/delete_dependancies_when_removing_group

Fixes #3621 : when deleting a group, remove it from the rule as well