When buying bone-in prime rib the butcher will have removed the bones in full, or 90%, and then tie them back on with butcher twine. If the bones were removed just leave them on while it smokes. Then remove them after.