The rule will ban medical bills on credit reports used by lenders, and prohibit lenders from using medical information.