Bug 1325531: Delete acl rules when all security group entries are deleted

Change-Id: Ie3b7cddd893d76b27ce0556c40424fcd3748a464