Fixed the angular issue where it adds an empty option to the selection input when ng-model is added
Adding the checkForDuplicateRule() call back when the groupName value is changed
Merge pull request #581 from eucalyptus/GUI-760

Gui 760 Solved the issue where the selection index was off by 1 due to the angular's behavior of inserting an option when ng-model is added