The related party rules were enacted to prevent related parties from “cashing out” of an investment and avoiding tax if either party’s property is disposed of within two years of the exchange. In addition, Section 1031(f) states that the Internal Revenue Service reserves the right to invalidate any exchange in which the taxpayer can’t prove that the “exchange” did not have a principal purpose of avoiding taxes that would otherwise be due or avoiding the purposes of the related party rules