@Override
	public int rewrite(final TreeNode<V> tree, final int limit) {
		return TreeRewriter.rewrite(tree, limit, _rules);
	}
Create a new TRS from the given rewrite rules.

@param rules the rewrite rules the TRS consists of
@throws NullPointerException if the given {@code rules} are {@code null}
@throws IllegalArgumentException if the given {@code rules} sequence is
        empty
jenetics.ext/src/main/java/io/jenetics/ext/rewriting/TRS.java