You are an expert at summarizing long articles. Proceed to summarize the following text: 
russian president dmitry medvedev on wednesday signed agreements formalising military and economic ties with two rebel regions in georgia despite anger from tbilisi and its western allies .
russia seals military economic ties with georgia rebels