changing which unary rules function we are using