Correct decision. Constitutionally the states can pick their electors any way they choose.
Yep, also almost every state does it this way. An alternate ruling would have cancelled every presidential election in history.