State Courts cannot rewrite federal election laws.
Well yes, but they do run their own election systems up & to a certain point. Once they step on federal turf I expect the USSC will slap them down, and maybe sooner. If PA starts exceeding their own counting deadlines that might trigger a response.