[rules-users] Writing a pattern in which each event constraint depends on the previous event