Presumably all of these Items are members of gLight. So:
- a member of gLight receives a command
- the rule triggers
- the rule sends a command to 11 members of gLight
- gLight receives 11 more commands
- the rule triggers 11 more times
and so on.
You need to cut this loop. There is not enough information to provide an optimal solution. Perhaps only trigger the rule when a member receives an ON or OFF command.
Also, any command you send to a Group Item will be sent to all of it’s members. So you can reduce this whole rule to just
gLight.sendCommand("REFRESH")
And in fact, that might reveal to you a little better why it’s looping.