There were four drives. Two of them he single-handedly stopped. A third he contributed key plays on getting them stopped. Not to mention him affecting the 9ers gameplan by forcing their QB to try to get the ball out fast enough to prevent him from getting his record, which resulted in a turnover-ridden early part of the game. His impact is profound, I mean look at the Rams' record when he's been nullified, it ain't good.
The rules are different for Aaron Donald. If a player of his caliber doesn't want to come out, well, ok. Guess he's staying in. Teams and coaches that sweat nonsense like that lose their best players and eventually their jobs.