Add rational exponent parsing