had to replace a damaged section of fence on rental property
That would likely be a repair since it didn't increase the value or useful life of the fence as a whole. So, you would expense it.