The process for creating a rule base consists of the following main steps, which are explained in greater detail in this section.
Select the object class of the rule base (answer, contact, incident, chat, opportunity, organization, target, or task) and open the rule base.
If an initial state does not already exist in the rule base, add one.
Add additional states and functions as necessary.
Add rules to each state and function.
Reorder the rules within states and functions as necessary.
Activate the rule base.
Verify that the rules are performing as expected.