[rules-users] how to write the rule