Your suggested alternative generates a need for massive accounting by the banks, tracking each loan's aggregate monthly rental income.
A simpler rule that mostly covers today's problems, and adds very little overhead after the loan is signed, is often considered good enough.
It’s probably a bad rule in retrospect but to reprice now would be devastating