Investors & landlords

Are you saying that as per rules, the debt which gets paid off first is the debt allocated to the rental?