Appeals court declines to reinstate security laws clauses