docs: public static TreeRewriteRule compile(final String rule) {
  		final String[] parts = rule.split("->");
  		if (parts.length != 2) {
  			throw new IllegalArgumentException(format(
  				"Invalid rewrite rule: %s", rule
  			));
  		}
  
  		return of(
  			TreePattern.compile(parts[0]),
  			TreePattern.compile(parts[1])
  		);
  	}