rule resolution
Rule resolution is the search algorithm used by Pega Platform to find the most appropriate use to apply in a situation. For example, in version 2 of the hiring process application, the system uses rule resolution to assemble the rules that are needed to run the application. Rule resolution ensures that the system uses the latest version of each rule to run the application, some rules will be found in the original version and some rules will be found in the version 2. There are several factors that are considered when the system is trying to find the right rule, the ruleset order, ruleset version, and the context class of the rule, are a few.
For example, an application used for hiring new employees includes two rulesets, MyJobApp and MyHR, in that order. The system gives priority to rules located in MyJobApp over the rules located in MyHR because MyJobApp appears first and MyHR appears second in the list.
To facilitate application evolution, testing, and patching, by using rule resolution, rules can have multiple versions. In addition, rule resolution provides flexibility since rules defined at a higher level can be overwritten by more specific rules at a lower level of an application. A class contains rules which define the behavior of your application.