Added rulesVar parameter to Validator class