[rules-users] How to use a result of custom defined function in WHEN part?