Australia is set to introduce a major new rule affecting home loans.