Validate that the element is (inclusive) between min and max.
The rule on which this method has been invoked.