Revert "make Rational immutable"

This reverts commit 61284ea787f8afa00f5c08c158de2c2035cc2df9.