Sorry, but no they won't. The stihl and ryobi have different drive shafts. They won't mesh properly.
CJ
Small Engine Technician
Briggs and Stratton Master Service Tech, Kohler, Tecumseh, Kawasaki certified. 18 years exp.