tion, String, Integer&gt;</code>, where <code>Transaction</code> is the main
&ldquo;wrapped&rdquo; event, String is the key (<em>payer #x - beneficiary #y</em> in
Figure 1), and <code>Integer</code> is the ID of the rule that caused the dispatch of
this event. This rule was previously <a href="/news/2020/03/24/demo-fraud-detection-2.html#broadcast-state-pattern">stored in the broadcast state</a> and has to be retrieved from that state by the ID. Here is the
outline of the implementation:</p>
<div class="hig