When the holder of a rent shall purchase part of the land out of which the same issues, the rent shall be apportioned in like manner as if the land had come to him by descent; and when the holder of land, being part of land out of which a rent shall be issuing, shall purchase such rent or part thereof, the rent so purchased shall be apportioned as aforesaid.

Code 1919, § 5547.