The Security Rules simulator is now available in the Google Cloud console for Firestore (Standard and Enterprise editions).
You can test draft security rules against simulated database requests and evaluate authentication tokens before deploying rules.
Firestore•Feature•