title: How to export security and index rules from Firestore?
body: <p>I've set up multiple different indexes on my Firestore development database. Now, I would like to export them into the <code>firestore.indexes.json</code> so that the process of setting up prod environment would be easier. Is there a way to export those indexes using Firebase CLI? The same applies to security rules, although I know that I can copy paste them.</p>