A federal judge has ruled that the government's abrupt elimination of humanities grants previously approved by Congress was "unlawful" and that a lawsuit brought by humanities groups can move forward.