When a member of a Group receives and update the new state of the Group gets calculated incrementally. It iterates through the members of the Group to aggregate the values (e.g. MIN, SUM, AND). Each step through the loop it updates the Group’s state.
So every time there is an update to a member of a Group, the Group will receive N-1 updated as a result and consequently your Rule will trigger N-1 times (where N is the number of members of the Group).
This is why the Rule triggers more than once.
Using changed or Member of are better choices when triggering Rules by Groups.
Be very very very very careful using locks. The slightest error can cause the finally block to never execute and therefore the lock never gets unlocked and if you have a lot of members of a Group, they will use up all the available Rule Runtime Threads waiting for access to the lock.
We should all go to great lengths including considering a different approach or exporting the work to an external script to avoid locks unless it is impossible.
See (OH 1.x and OH 2.x Rules DSL only] Why have my Rules stopped running? Why Thread::sleep is a bad idea for details.