The class to which a horse belongs for the purpose of an entry in any contest of speed, as provided by the printed rules of the fair or association under which such contest is to be made, shall be determined by the public record of said horse in any such former contest.