Custom constraints feature added to rules