Properly identify channel-specific rules in Recording Rules.

This was broken when channel rules were converted to all rules using
the this channel filter.  Based on a patch from lomion@aon.at.

Fixes #12267