[rules-users] how to write the rule to match the latest facts