Scopes in validators

With this, now you can use scopes in rules (exist, unique) where there is criteria.