Set of small fixes for code quality

See https://issues.jboss.org/browse/DROOLS-506