Is there a way to update my local rules file from the online one?

Is there an online grammar.xml file that gets updated when new rules are added to it?
How to I get my local version to get updated when the online master one gets updated?

You can get the latest daily snapshot here. Taking just the grammar.xml from master and copying it to your local version often won’t work, as changes to grammar.xml might depend on other changes in the code.

It would be helpful if grammar.xml has a version dependency setting so we can know that we need to upgrade our local LT.