Fewer than 40 days are left in the election, but there are still fights in the courts over election rules.