This method halts the rules engine inference and is typically used to report that the inference has reached an unexpected point.
xpertrule.terminate(ErrorMessage);
For Dialog & Chat Deployments, the error message is displayed For Silent Deployment Error code of "ERROR" is returned
For example:
xpertrule.terminate("Fatal error : cannot read user name");