Pursuant to this division, the local agency may provide financing to pay for or buy out any existing note or deed of trust which may be a lien against the real property on which an eligible building is situated, not to exceed an 80 percent loan to appraised value ratio. The local agency shall establish rules and regulations to ensure the repayment of the funds being borrowed and shall establish a minimum equity requirement that the owner of the eligible building must have in the property.