Raining rocks: an analytical formulation for collision time-scales in planetary systems