Pennsylvania Supreme Court rules Democrat changes to voting