Constitutional court rules judges out of election commissions