Create mapping between groups and matches when creating a group