298.1. Where a taxpayer acquires a property in satisfaction of an absolute or contingent obligation of a person or partnership to provide the property pursuant to a contract or other arrangement one of the main purposes of which was to establish a right, whether absolute or contingent, to the property and that right was not under the terms of a trust, partnership agreement, share or debt obligation, the satisfaction of the obligation is deemed not to be a disposition of that right.