http://image1.slideserve.com/2664699/type-rules-with-environment-n.jpg