Revert "Fix issue #5309: ec2_group: rules can't reference containing group"

This reverts commit a4fe9e3009aab495b5d82091a4a4a8417cb2e9a3.