More about Access Role rules
An access role is different from a work party role that defines which types of parties can appear in work items.
You can create access role rules and related rules indirectly using the Access Role Editor, as an alternative to creating them through the rule form.
To test whether the current user holds a role, call the standard Boolean function:
Lib(Pega-RULES:Default).HaveRole(this, "rolename").