AMMAN, JORDAN, NOV. 11 -- In a surprise ending to a four-day summit of Arab leaders here, Syria joined an Arab-world majority in condemning Iran's stepped-up aggression in the Persian Gulf war and lent its support to a U.N. cease-fire resolution that could lead to an arms embargo against Iran.

"The leaders expressed their anxiety at the continuation of the war and voiced their indignation at the Iranian regime's intransigence, provocations and threats to the Arab gulf states," a communique approved without objection by the summit members said.

The 16 Arab heads of state and five other Arab delegations "denounced the bloody criminal acts perpetrated by the Iranians in the vicinity of the holy mosque in Mecca" July 31, when Iranian pilgrims rioted and were suppressed by Saudi security forces.

Syria also joined the 21 Arab League members assembled here in endorsing the renewal of "diplomatic relations between any Arab League member state and the Arab Republic of Egypt" as "a sovereign matter to be decided by each state in accordance with its constitution and laws."

The summit conclusion was significant because Arab leaders in Iraq and in the gulf region were able to push through clear and unequivocal language condemning Iran without losing the support of Syria, which maintains arms-supply and economic relationships with Iran.

The summit demonstrated that for a variety of economic and political reasons, Syria has lost, for the time being at least, its formidable veto authority over moderate Arab initiatives.

A spokesman for the Syrian delegation said Syria will not restore relations with Cairo, but its acquiescence to the summit majority's wishes was expected to clear the way for a resumption of diplomatic ties between Egypt and as many as seven Arab countries that broke with Cairo in protest over Egypt's separate peace with Israel nine years ago.

As the summit closed, the United Arab Emirates announced that it would immediately restore relations with Cairo. Bahrain is expected to follow suit in the next few days, followed by Iraq, Kuwait, Saudi Arabia, Qatar, Morocco and, perhaps, Tunisia.

Syria's apparent capitulation to the demands of the majority of Arab heads of state attending the summit surprised participants and observers.

"I am as stunned as you are," said one Jordanian official after the summit's resolutions were read by Arab League President Chadli Klibi at the closing session.

Jordan's King Hussein, the summit's host, told reporters at a news conference tonight, "I believe I have the right to feel both proud and happy."

Hussein said the summit had achieved a "reconciliation with all of its connotations" between the Middle East's most bitter Arab rivals, Syrian President Hafez Assad and Iraqi President Saddam Hussein.

Hussein said the reconciliation promised to usher in a "new era" of cooperation by Arab leaders to confront the dangers posed by Iran to stability in the region.

Syria's decision to stay within Arab ranks here was seen by Middle Eastern and western analysts as an attempt by Assad to avoid isolation and to protect his claim to hundreds of millions of dollars in subsidies from Saudi Arabia and other wealthy Arab states that keep Syria's battered economy afloat.

The Amman summit appears to have created overnight a new balance of power in the Middle East that Syria cannot afford to abandon.

The escalating gulf war has forged a new alliance of Egypt, Iraq and the richest gulf Arab states, and this alliance threatens to overshadow the important role that Syria has played in Arab affairs since the late Egyptian president Anwar Sadat decided to break with the Arab majority in 1978 and conclude his own peace treaty with Israel, at the urging of the United States.

At this week's summit, Assad has clearly brought Syria back into the Arab mainstream, but without making any commitment to drop his strategic alliance with Iran.

Arab leaders here are hopeful that Assad's willingness to support a majority position will help them in their bid to press the big powers in the United Nations to move forward quickly with diplomatic efforts to end the seven-year-old gulf war.

Hussein was expected to take the summit's message to Moscow in the next few weeks in hopes of persuading Soviet leader Mikhail Gorbachev to rekindle the Soviet Union's resolve to push forward in the U.N. Security Council on enforcement measures to end the war.

The summit resolutions adopted today appeal to the international community to "adopt measures adequate to make the Iranian regime respond to calls for peace."

A number of sources here said the gulf Arab states have made their continuing financial support of Syria contingent on Syria's cooperation with Arab efforts to end the war. But Iran also subsidizes Syria's economy with oil supplies.

Assad in the past has played off his Arab world relations against Iran as a way to improve the flow of financial benefits from Tehran.

The question still open is whether Assad is truly willing to reconcile with his archrival in Baghdad or whether he has given ground tactically to his financial patrons.

Nothing in the summit communique calls on Syria to sacrifice its relationship with Iran.

The summit resolutions also address the Arab-Israeli conflict, calling the Palestine issue "the core and essence of the conflict."

"The leaders supported the convocation of an international peace conference under the sponsorship of the United Nations and with the participation of all parties concerned, including the Palestine Liberation Organization as the sole legitimate representative" of the Palestinian people, one resolution said.

Summit resolutions made no reference to the buildup of U.S. and western military forces in the Persian Gulf.