Method and apparatus to abstract away rule languages
AssigneeRed Hat, Inc.
InventorsMark Proctor, Edson Tirelli, Robert K. McWhirter
Life of this patent
Estimating the term…
Abstract
Some embodiments of a method and an apparatus to abstract away rule languages from a rule engine have been presented. In one embodiment, rules written in a first rule language are parsed into descriptor classes, which are used to model concepts that can be expressed in a rule engine. An intermediate structure is generated from the parsed rules. The intermediate structure is input to a core of the rule engine, which is operable to execute the rules.
Claims21
A computer-implemented method comprising:
- parsing a plurality of rules written in a first rule language into a first plurality of descriptor classes;
- generating an intermediate structure using the first plurality of descriptor classes;
- and
- inputting the intermediate structure to a core of a rule engine for execution.
An apparatus comprising:
- a descriptor model having a plurality of descriptor classes;
- a first driver coupled to the descriptor model to parse a plurality of rules written in a first rule language into one or more of the plurality of descriptor classes to generate an intermediate structure;
- and
- a core of a rule engine coupled to the descriptor model to receive the intermediate structure and to execute the plurality of rules.
A machine-readable medium that provides instructions that, if executed by a processor, will cause the processor to perform operations comprising:
- parsing a plurality of rules written in a first rule language into a first plurality of descriptor classes;
- generating an intermediate structure using the first plurality of descriptor classes;
- and
- inputting the intermediate structure to a core of a rule engine for execution.
Dependencies are inferred from the claim text.