Rules for Designing Safer Cities