A judge has ruled a candidate in a competitive GOP Senate race is ineligible because she just recently moved back to West Virginia after many years out of state.