- added ex::to_rational() to convert general expression to rational expression