Modify Validator parseRule to allow regex with commas