Can I deduct closing cost expenses for a refinance of a rental property if the closing costs were rolled into the new loan and not paid up front in cash?

I understand fees for refinancing a rental must be deducted over the life of the loan (amortized). The only fee I paid in cash to the lender was an appraisal fee. All other fees were added to the new loan.  What closing costs do I amortize?