Instead of using ACLs, I would join all the members of the groups for which I want to set permissions into one supergroup, and then use this group for the respective permissions. For example, as user root:
pw groupshow groupA
groupA:*:1001:userA,userB,userC
pw groupshow groupB
groupB:*:1002:userD,userE,userF
pw groupshow groupC
groupC:*:1003:userG,userH,userI
pw groupadd -n groupABC -g 2001 -M userA,userB,userC,userD,userE,userF,userG,userH,userI
chgrp groupABC hello.txt