It turns out that the car from Jinghong to Ruili passed through Jinggu. At that time, Lancang was building the road. It is unknown whether the route has been changed now. If the route is changed, there will be no bus from Jinggu to Ruili. There are no buses to Ruili in the surrounding Pu'er and Lincang, so you may have to go in sections, Jinggu-Lincang, Lincang-Baoshan, Baoshan-Ruili.
Supplement: If Lancang Road does not pass through Jinggu after it is opened to traffic, you can definitely take the sleeper car from Jinghong to Ruili when you get to Lincang. This bus has to enter the passenger terminal when arriving in Lincang.
Only so much information can be provided, for reference only.