Investors and rental owners

Can legal fees and appraisal fees for the home be claimed as investment expenses?  Its specifically to obtain a HELOC for investment purposes.