added integer(val), lessThan(max) and greaterThan(min) rules