I have a Rule matching "Contents contain #Event" in Textfiles in iCloud.
This Rule stopped working after updating to Monterey.
While Previewing the Rule clicking on the Red X dows not show any Content in the File.
Spotlight is indexing the file including it's content.