[rules-users] How to create global functions?