You are an expert at summarizing long articles. Proceed to summarize the following text: 
russian president dmitry medvedev on wednesday signed agreements with abkhazia and south ossetia , setting the diplomatic framework for russia 's relations with the two georgian rebel regions .
russia signs deals with abkhazia south ossetia