'Delete a push rule. Args specify the row to be deleted and can be
any of the columns in the push_rule table, but below are the
standard ones
Args:
user_id (str): The matrix ID of the push rule owner
rule_id (str): The rule_id of the rule to be deleted'

@defer.inlineCallbacks
def delete_push_rule(self, user_id, rule_id):

    def delete_push_rule_txn(txn, stream_id, event_stream_ordering):
        self._simple_delete_one_txn(txn, 'push_rules', {'user_name': user_id, 'rule_id': rule_id})
        self._insert_push_rules_update_txn(txn, stream_id, event_stream_ordering, user_id, rule_id, op='DELETE')
    with self._push_rules_stream_id_gen.get_next() as ids:
        (stream_id, event_stream_ordering) = ids
        (yield self.runInteraction('delete_push_rule', delete_push_rule_txn, stream_id, event_stream_ordering))
