Adding synchronization to resolve issue DROOLS-144.
This fix is tested on JDK 1.6. In Java 7 there is a different way to do centralized synchronization per class, however it is only support for Java 7+, to support Java <=6 need to use old school synchronized key word.