(1) shall be taken from:(a) the winning horse in a race with pari-mutuel betting;
(b) a horse participating in a time trial race;
(2) may be taken, where a racing judge so requests, from a horse declared in a race:(a) after it has participated in the race;
(b) within 2 hours before the starting time of the race in which it is to participate.