Should I rebuild a "good engine" to fix oil leak?

I had this problem on my car last week. I found the leak after cleaning the engine and added some dye. It was a leaking oil sending unit.