Correct handling of mutes for nested rules

Change-Id: Ie5dcce21d570bdbb9d2543a50f5f587beb86ac34