revised <num> rule - distinguish Rat and Int values