PIE *s was an apical spirant. The ruki rule is in fact a sequence of three subrules, of which only the first one results from a retraction after ruki, following changes to the retroflex and velar spirant result fgrom different proceses and are not related.