Depreciation

I am an independent contractor. I just had a  main shut off value installed. I was told that I can deduct the cost on form 8829. Does this have to be depreciated or can I take the safe harbor rule