Added dynamic routing with index and config rules