[rules-users] how to use funtion and how to compare values , when you write rule