The closeness and partisan acrimony of that contest, combined with the intense national focus on election rules that accompanied the court battle over it, helped persuade both parties to invest much more attention and energy on those rules.