ADFS - Roles and Groups with Rules

The above code was correct, but there was another rule that was auto generated that caused the issue.

This rule been automatically generated by auth0-authz-extension
Once I disabled this rule it worked fine.