Coordination through Group Rewriting