A-APR.D: Rewrite rational expressions.