simplify enum RelType