splitting out the looping function for checking against all rules, to get rid of some duplication
splitting out the looping function for checking against all rules, to
get rid of some duplication
tollerz/JsValidate