The rule is not displaying after the AI edited it

I noticed that viewing a Git diff somehow breaks the rule display.

After I opened the diff and then opened the file normally from the file explorer, it appeared broken.