added return statement in addRule method
allow to pass the rule value in the constructor
Update README.md