Rate equations for nitrogen molecules in ultrashort and intense x-ray pulses. (16th March 2016)