40. Orders of the Judge.

(a) declare a casual vacancy to have been created, or
(b) declare another candidate to have been duly elected and in either case may award costs at his discretion.