For the purpose of establishing compensation rates and basic rates for vacation and sick leave credit earnings, professional personnel who were employed by a county school system or the public library system in the State and who are subsequently appointed to positions in the Department to provide services in accordance with Subtitles 8 and 9 of this title shall be given credit as employees of the Department for their years of service as employees of the county school system or the public library system from which they transferred.