original_docstring: 
      Installs the specified static rules for the session.
      Also associates the static rules to the subscriber.
      
docstring: Installs the specified static rules for the session.
  Also associates the static rules to the subscriber.
docstring_tokens: Installs the specified static rules for the session . Also associates the static rules to the subscriber .
code: def install_rules(client: PolicyDBStub, args):
      """
      Installs the specified static rules for the session.
      Also associates the static rules to the subscriber.
      """
      message = EnableStaticRuleRequest(
          imsi=args.imsi,
          rule_ids=args.rules,
          base_names=args.basenames,
      )
      try:
          client.EnableStaticRules(message)
      except grpc.RpcError as err:
          print('Failed to enable static rules and/or base names: %s' % str(err))
          print(DEBUG_MSG)
code_tokens: def install_rules ( client : PolicyDBStub , args ) : message = EnableStaticRuleRequest ( imsi = args . imsi , rule_ids = args . rules , base_names = args . basenames , ) try : client . EnableStaticRules ( message ) except grpc . RpcError as err : print ( 'Failed to enable static rules and/or base names: %s' % str ( err ) ) print ( DEBUG_MSG )
short_docstring: Installs the specified static rules for the session.
short_docstring_tokens: Installs the specified static rules for the session .
comment: """
      Installs the specified static rules for the session.
      Also associates the static rules to the subscriber.
      """