integer and float rules validate