updated match rule