In older versions of Firebase, we could add a rules section to our firebase.json file, and upload new security rules on every deploy.
rules
firebase.json
How d
You can use firebase deploy --only database if you only want to update database rules. It will overwrite your existing rules.
firebase deploy --only database
You can check out Firebase CLI Reference for more info