A petitioner shall join as respondent to the petition,-
(a) where the petitioner, in addition to claiming a declaration that the election of all or any of the returned candidate is void, claim a further declaration that he himself or any other candidate has been duly elected; all the contesting candidates other than the petitioner; and j
(b) where no further declaration as under (a) above is claimed, all the returned candidates.