added nitrogen chemistry rules for cyclizations