Fixing how appended 'matching_rules' is tacked on (as an array).