Question: how do adfs claim rules work?
Answer: Claims rules govern the decision in regard of claims that AD FS issues. Claim rules and all server configuration data are stored in the AD FS configuration database. AD FS makes issuance decisions that are based on identity information that is provided to it in the form of claims and other contextual information.