add rules for join match
add rules page