add rule matching for filtering metrics