Confusing. This is a New York state magistrate judge. His "ruling" only applies to cases in the State of New York, right?
The current case regarding the terrorist iPhone is in the jurisdiction of Southern California (San Bernardino). So the NY judge's "ruling" really has little bearing on the outcome of the FBI attempting to coerce Apple into getting access to that iPhone.
To me, the word "ruling" used here is misleading, since it gives the impression that Apple already won the case regarding San Bernardino. A better word would have been "opined". This judge opines that Apple should not be forced by the Gov to unlock the (San Bernardino) iPhone. But his "ruling" (or any opinion for that matter) is not binding in all 50 states. That's really up for the Supreme Court to decide.
Still, I will admit that Apple did score a small victory by having this NY (federal) judge on their side. The rest of the country, the tech-illiterates, are against Apple. And Trump and the other demagogues are using the narrative that "Apple is wrong because Apple is helping those terrorists! Apple should instead be a good Patriotic Company and help the US Government in every manner possible to defeat the boogeyman terrorists!"