fixed return type error "Validator" => "Validate"
allowed empty rules for valdiator
moved createValidator back to validator