A few demo projects of drools, JBoss' rule engine.