Overview of Working with Rules

Rules specify the logical relations between attributes and provide a framework against which attributes can be tested to determine their value. Rules describe relationships in terms of if-then logic. That is, a rule is an assertion that a conclusion can be drawn from a proposition. For example:

If you leave the ice cream in the sun, then the ice cream will melt.

It is a good idea to take an umbrella if it is raining outside.

Full-time students and pensioners are eligible for a discount at the university bookstore.

Your plane can take-off from the airport if it has permission from the control tower and has completed a safety check.

The movie ticket will cost $10 if the ticket is for a child.

The claimant is not eligible for an aged pension if the claimant is not a citizen

Rules operate on data and can incorporate operations such as comparisons and mathematical functions.

To get started working with rules, see: