Global dynamics of the Rossler system with conserved quantities