Add rethinkdb rule