The quantum symmetry of rational conformal field theories