How to set more rule in setVerificator?

hi,
I want to set more rules in setVerificator.
but only the last rule specified is executed.
how to set more rule in setVerificator?

I solved it using a regex.

The only way, as you have already arranged it, is to create a more complex rule