For the sword i think it is because it reabsorbs iron from the hilt up , so if no hilt is present you just have some piece of metal that used to be a sword.
For Rinnegan , even though Madara gave Nagato his eyes , he had to awaken them on his own. That isnt the same as transplanted eyes like...