nl_tokens: Deploy rules for a database project .
pl_tokens: function deployRules ( { client , rules , secret } ) { const lastRequest = rulesRequests . get ( client . projectId ) ; return Promise . resolve ( lastRequest ) . then ( oldRulesHash => { const newRuleHash = hash ( rules ) ; if ( oldRulesHash === newRuleHash ) { return oldRulesHash ; } const request = client . <mask> ( { rules , secret } ) ; rulesRequests . set ( client . projectId , request . then ( ( ) => newRuleHash , ( ) => oldRulesHash ) ) ; return request ; } ) ; }