Fixes #2
Added support for equals and not equals on validation functions.