rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /state/{document=**} { allow read, write: if true; } match /{document=**} { allow read, write: if false; } } }