You can create a custom rulebase model by using following instructions:
Procedure
In the Project Explorer, right-click the
Custom Rulebase Model folder and select
New >
Class.
On the
Java Class page, enter the name of the class. (The default name is
RulebaseCustomFunction.)
Click Finish to create a class without predefined sample, or click
Next to create a class by using predefined template.
In the
Templates
window, select
Create Custom Rule File using one of the Templates, this enables the selection of
Available Templates. And select one of the available templates based on your requirement.