Allow term spec to parse rational exponents