A fence is not an Asset. It's Capital Works i.e. building.
Putting that aside, if you only replace part of a damaged fence you may be able to claim it as a repair. The fence would need to be replaced with the same type of fence and you would need to have owned the property for a while.
Be guided by your accountant.
Scott