match = rule.addStep( "match" );
match.pattern( "*://*:*/**" + DATANODE_EXTERNAL_PATH + "/{path=**}?{host}&{port}&{**}" );
rewrite = rule.addStep( "rewrite" );
rewrite.template( "http://{host}:{port}/{path=**}?{**}" );
rule = rules.addRule( getRole() + "/" + getName() + "/datanode/outbound" )
.directions( "outbound" )
.pattern( "*://*:*/**?**" );
match = rule.addStep( "match" );
match.pattern( "*://{host}:{port}/{path=**}?{**}" );
rewrite = rule.addStep( "rewrite" );