Domains are shown in the Group in a list just below the Template Rules section.
On the right hand side, you can mark whether or not a domain is used in the group
If unchecked, this means that the template applied in this group will not be applied to any user with this domain even if they are in this group (as users can have different email addresses and domains)