It's not written, just common sense.
The best rule is to sight a fixed object near the car ahead.
Count, 1 and 2 and 3 and = 3 seconds
If you reach that object before finishing the count, you are driving too fast to safely stop, should that car hit a stationary object.
It's understood that when the car ahead applies brakes, one should not extrapolate. Look it up.