def METHOD_NAME(self, rule_text):
    """Obtain a parsed Sigma rule by providing text.
    Args:
        rule_text: Rule text to be parsed.
    Raises:
        ValueError: If rule could not be parsed.
    """
    self.resource_uri = "{0:s}/sigmarules/text/".format(self.api.api_root)
    data = {"title": "Get_Sigma_by_text", "content": rule_text}
    response = self.api.session.post(self.resource_uri, json=data)
    response_dict = error.get_response_json(response, logger)
    objects = response_dict.get("objects")
    if not objects:
        error_msg = "Sigma rule Parsing error with provided rule"
        logger.warning(error_msg)
        raise ValueError(error_msg)
    rule_dict = objects[0]
    for key, value in rule_dict.items():
        self.set_value(key, value)