The term "military service" used herein as qualification for appointment of officers of the Illinois National Guard is defined to mean such military or naval service credited as cumulative years of service for pay purposes in accordance with the laws of the United States and the rules and regulations based thereon.
20 ILCS 1805/18