A Systematic and Quantitative Approach to Safety Management