map-reduce using drools engine