Rule Resolution Algorithm:
1. If the rule is available in Cache , then the rule is picked.
2. Fetches all the matching rules
3. Ignores all the rules of type Not Available
4. Ignores all the rules which are not applicable in the rule set hierarchy
5. Ignores the rules which are Withdrawn and not applicable in class hierarchy
6. Ranks the rules by ruleset, version, class
7. Find the best rule and places in the cache
8. Verifies the rule is not blocked
9. Verifies whether the user is authorized to access the rule or not.
10. Process the rule.