parameters: (self, resource_rules)
return_statement: return target_path
docstring: Installs ResourceRules.plist from user or SDK into the bundle.
  
      Args:
        resource_rules: string, optional, path to the ResourceRules.plist file
          to use, default to "${SDKROOT}/ResourceRules.plist"
  
      Returns:
        Path to the copy of ResourceRules.plist into the bundle.
docstring_summary: Installs ResourceRules.plist from user or SDK into the bundle.
docstring_tokens: Installs ResourceRules . plist from user or SDK into the bundle .
function: def _InstallResourceRules(self, resource_rules):
      """Installs ResourceRules.plist from user or SDK into the bundle.
  
      Args:
        resource_rules: string, optional, path to the ResourceRules.plist file
          to use, default to "${SDKROOT}/ResourceRules.plist"
  
      Returns:
        Path to the copy of ResourceRules.plist into the bundle.
      """
      source_path = resource_rules
      target_path = os.path.join(
          os.environ['BUILT_PRODUCTS_DIR'],
          os.environ['CONTENTS_FOLDER_PATH'],
          'ResourceRules.plist')
      if not source_path:
        source_path = os.path.join(
            os.environ['SDKROOT'], 'ResourceRules.plist')
      shutil.copy2(source_path, target_path)
      return target_path
function_tokens: def _InstallResourceRules ( self , resource_rules ) : source_path = resource_rules target_path = os . path . join ( os . environ [ 'BUILT_PRODUCTS_DIR' ] , os . environ [ 'CONTENTS_FOLDER_PATH' ] , 'ResourceRules.plist' ) if not source_path : source_path = os . path . join ( os . environ [ 'SDKROOT' ] , 'ResourceRules.plist' ) shutil . copy2 ( source_path , target_path ) return target_path