Investors & landlords

I thought that investment interest expenses is not subjected to the 2% rule.   Investment expense; however, is subjected to the 2% rule.