Block diagram for rule engine included