Error in syntax on Firebase database rules
<pre><code>{
    "rules": {
        "Users": {
            "$user_id": {
                // Grants write access to the owner of this user account
                // whose uid must exactly match the key ($user_id)
                ".write": "$user_id === auth.uid"
            }
        }
        "$businessName": {
            ".write": "root.child('Users').child(auth.uid).child($businessName).child('Permission    s').val() === 'MODERATOR'"
        }
    }
}
</code></pre>

<p>This is giving me an error: </p>

<blockquote>
  <p>Error saving rules - Line 10: Expected ',' or '}'. </p>
</blockquote>

<p>The error says I'm missing a bracket for some reason. Did I miss a comma or something?</p>