Judge rules against moratorium on carbon capture project