Just define:
// These rules give anyone, even people who are not users of your app,
// read and write access to your database
{
"rules": {
".read": true,
".write": true
}
}
It can be useful during development but pay attention because This level of access means anyone can read or write to your database.