The board shall provide, in accordance with this subchapter and board rules, assistance in the repayment of eligible student loans for eligible persons who agree to teach mathematics or science for a specified period in public schools.