An introduction to the Drools rules engine