You can add this rule to a group where the groups would be added.

Configure rule for v5+


Configure rule for v4 and previous



AttributeAttribute metadataValue
rule


ruleActAsSubjectIdGrouperSystem

ruleActAsSubjectSourceIdg:isa

ruleCheckStemScopeSUB/ONE

ruleCheckTypegroupCreate

ruleThenEl


${ruleUtils.group(null, 'destination:groupOfGroups', null, true, true).addMember(ruleUtils.group(null, groupName, null, true, true).toSubject(), false)}



ruleValidT