For an improved management of your application, organize its building elements – rules – in a logical and coherent way. You can group rules into rulesets and classes, so that you can conveniently reuse them during application development. As a result, you reduce development time and costs.
- Organizing rules into rulesets
To identify, store, and manage the set of rules that define the reusable elements of an application, organize rules into rulesets. When you group rules into a ruleset, you save time, because you can reuse an entire ruleset within different applications in your system instead of reusing or creating individual rules.
- Organizing rules into classes
For more efficient management of your applications, organize rules into classes. A class describes a collection of rules or other objects, such as properties, activities, and HTML forms, that are available to other, child classes, or to instances of the class. Pega Platform organizes classes into a hierarchy, in which the system searches from the current class upwards when looking for a rule to apply.
- Deleting a rule
Save disk space by deleting rules that are no longer relevant in your application. For example, during application development, you create a field property to capture a phone number, but later you realize that you want to capture multiple phone numbers. Instead, you create a list property, and then delete the field property. As a result, you improve the extensibility and user understanding of your application by providing only the rules that your application requires.