Fix inputValidationClass when rule does not exist