Adds rule to plot.