If the district judge is of the opinion,-
(a) that the result of the election has been materially affected,-
(i) by the improper reception or refusal of a vote; or
(ii) by non-compliance with the provision of the Act or rules;
(b) that the nomination of any candidate has been wrongly rejected or that the nomination of the successful candidate or of any other candidate who has not withdrawn his candidature has been wrongly accepted;
then the district Judge shall declare the election of the returned candidate to be void.