Looks like the ruling only applies to green card holders.
The headline of the article is misleading. This ruling will probably have no impact at all since the green card situation was already fixed.
Where did you see that it applies only to green card holders?
The contrary order by the federal district court judge in Boston is far more compelling
http://d279m997dpfwgl.cloudfront.net/wp/2017/02/Gorton-order.pdf