Adjust performValidation to take rules array rather than a ruleset name