21 feet rule was result of Dennis Tueller's drill to show that it takes at least 7 yrads for an officer to draw from holster and hit the approaching attacker. While this has been mentioned, reality is that it takes a little more.
This article goes into some of such thoughts.
From: The Tactical Wire