For configuring Ws-Federation, you
|Relying Party Identifier||
Please see the below article for claims rules. It includes examples of Rule Language in Custom Claims Rules where Groups are added to the Claims.
ADFS Example settings - Windows Server 2012 R2
Here are examples of a Windows Server 2012 with Templafy configured as a Relying Part Trust.
Trust Relationships - Identifiers
Trust Relationships - Endpoints
Trust Relationships - Claim Rules
Trust Relationships - Basic Claim Rules (LDAP attribute)
Trust Relationships - Extended Claim Rules (Custom Rule Language)
OBS! See below article for full example of Extended Claim Rules
Trust Relationships - Issuance Authorization Rules