[rules-users] Using Enums in when clause