Fix Issue # 195 : BaseValidationRule.assertValid(String context, String input) causes NPE if input is not valid.

Made changes as required, also getvalid(string,string) should be called instead.
Could not test the changes.
Let me know if the error persists.
Contact : karansanwal@gmail.com