What you use the money for should never be a factor in determining the deductibility, just the type of loan. A mortgage, home equity loan, a business loan, maybe margin debt? I'm pretty sure if you borrow money, regardless of how that money is used it is based on the type of loan.
For example...