A judge is set to rule on a lawsuit filed by Illinois and Chicago seeking to prevent the National Guard from being deployed by the federal government over their objections.