Update 2.rules-handling.js

Bug fix for updateRules method : 
Expose updateRules to public interface Rulemanager.