Event types
Whenever an annotated function is called, it will be intercepted and registered as an event. However, you want to be able to assign certain conditions to how you want to handle all future calls from that same function. This is where event types come in.

Every unique function is the equivalent of an event type, and they are used to create a connection between events and rules. In the example above, the function we are listening for is named string. Whenever that function is called 'My rule' is triggered and the conditions from that rule is applied to the event. This allows you to create rules that are specific to certain functions, enabling you to handle events in a more granular way.