A Minnesota federal judge has ruled that U.S. Steel Corp. did not violate the federal law that requires advance notice of plant closings because the depth of the recent economic crisis was not foreseeable.