[rules-users] how to use a method in a xml file