[rules-users] getting object from hashMap in when clause and using it across the rule