Fixed NumberFormatException on NumberRule for integer (#15).