added replacement string functionality to plots for inbound rules