24. Decision on election petition.

(a) dismissing the election petition; or
(b) declaring the election or [nomination] of all or any of the returned candidates to be void; or
(c) declaring the election or [nomination] of all or any of the returned candidates to be void and the petitioner and any other candidate have been duly elected or [nominated .
(a) that in fact the petitioner or such candidate received a majority of the valid votes; or
(b) that but for the votes obtained by the returned candidate the petitioner or such other candidate would have obtained a majority of the valid votes;
(a) where any charge is made in the petition of any corrupt practice having been committed at the election or [nomination] , regarding-
(i) a finding whether any corrupt practice has or has not been proved to have been committed at the election or [nomination] and the nature of that corrupt practice; and
(ii) the names of all person, if any, who have been proved at the trial to have been guilty of any corrupt practice and the nature of that practice; and
(b) fixing the total amount of costs payable, and specifying the persons by and to whom costs shall be paid :
(a) he has been given notice to appear before the Judge and show-cause why he should not be so named; and
(b) if he appears in pursuance of the notice, he has been given an opportunity of cross-examining any witness who has already been examined by the Judge and has given evidence against him of calling evidence in his defence and of being heards.