Judge's first ruling on Alabama immigration law