(1) Both Iran and Saudi Arabia rejected the use of force as a solution to regional problems , rejecting the invasion of Kuwait by Iraq .
(2) Both Iran and Saudi Arabia rejected the use of force as a solution to regional problems and opposed the invasion of Kuwait by Iraq .

Do these two sentences mean the same thing?
yes