Added "length", "minlength" and "maxlength" rules