Keep cursor rule up to date

cursor rule is a helpful tool to provide the context of your application to cursor so that it knows where to find the relevant part of code to edit for example. But the context of the application like project structure can evolve overtime, and hence the existing rules can be obsolete, and cursor rule can becomes unless if not misleading to Cursor even.

What is the best way to keep the cursor rules in sync with your project? Is it possible to have cursor agent mode revisit the rule at each success commit for example? And also how to reduce the amount of code read cursor will have to read in order to revise the cursor rule?