Add parsing of rational numbers