Authors:
Dominik Malzacher, Esma Tuzovic, Cille Schliebitz, Anita Gu
Changed on:
1 July 2025
In the left image, the little Lego wing piece has been composed together with other pieces to form an Angel. In the right image, the same Lego piece is composed together with many other Lego pieces to form a Poseidon.The visual analogy demonstrates how rules should be:
Multiple instances of a Rule are a design intention.
Each Ruleset executes in sequence for the given context or event.
Recommended practice regarding the naming convention for RulesetsEach Ruleset should only have a single purpose, and a Ruleset that changes the state of an entity should be clearly named to reflect that purpose. This is done so that a Workflow is easy to read and thus becomes easier to support.The diagram on the right shows an example, as well as a non-example of this recommendation.
Key Takeaways and Best PracticesA Rule consists of two components: