def METHOD_NAME(self, rule_id):
    self.built_content_path = pathlib.Path(self.built_content_path)
    rule_fname = self.built_content_path / "rules" / (rule_id + ".yml")
    try:
        rule = ssg.build_yaml.Rule.from_yaml(rule_fname, self.env_yaml)
    except RuntimeError as exc:
        msg = (
            f"{str(exc)}. Make sure that the product is compiled, "
            f"and '{rule_id}' is a short rule ID.")
        print(msg, file=sys.stderr)
        sys.exit(1)
    prose = Namespace()
    prose.description = common.resolve_var_substitutions(rule.description)
    prose.rationale = common.resolve_var_substitutions(rule.rationale)
    prose.sub_newlines_with_br()
    self.template_data["prose"] = prose
    self.template_data["fixes"] = self._get_fixes(rule_id)
    self.template_data["checks"] = self._get_checks(rule_id)
    self.template_data["rule"] = rule
    self._add_policy_content_to_categories(rule.policy_specific_content)