modified security drools module