Is there not a rule which stipulates that if a car has pieces which have become loose or dislodged (and could potentially become projectiles) should come to the pits for repairs?

I know Rubens' Brawn lost a spring rather suddenly, but Felipe Massa paid the price for the part that came off of RB's car at speed.