changed java code version for rules to 1.7; added logger to the default globals of every rule