At the gate to the National Police Academy, on the western edge of the Afghan capital, the guard's rifle bolts into firing position.