Missing Documentation about how to enrich custom rule

Hi,
I created a custom rule just like in this guide explained: Add custom rules - Shopware Developer . The Rule is functioning fine but its missing its data. The rule is ran everytime inside of a flow to which its related to the „offer status change“ flow-event(coming from B2BSuite plugin).
On this page it is (more or less) explained how to enrich the rule evauluation but there is no actual documentation about how to do so. Page here Preparing data for rule evaluation - Shopware Developer

Does anyone know how to create such indexer/updater and how to access them inside of the „match()“ method inside of my rule?

1 „Gefällt mir“