deduction or basis for sellers settlement statement of a rental property

I am struggling to find clear instructions on how to treat each line item in a settlement statement as the SELLER of a rental condo unit. I found a document online for a buyer and then at the bottom, it states that for the seller, basis items are deductible. 

 

I would appreciate knowing if the following items are deductible on the seller's end vs adding to the cost of the sale. 

 

Title insurance and service fee

Closing fee

1031 exchange document fee

1031 exchange fee

change fees for HOA's

real estate taxes

commissions

service charges

status letter for HOA

Home Warranty

 

I really appreciate the help on this because everything I see is oriented to the buyer which will be helpful when I add the new property to TT.