After I sold a rental property, I incurred legal expenses related to it. Can I deduct the legal expenses of the sold property from other rental income?