"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 06:49:26.517138
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A simple fact checker class that validates facts based on predefined rules.
    """

    def __init__(self, rules: Dict[str, bool]):
        """
        Initialize the fact checker with a set of rules.

        :param rules: A dictionary where keys are facts and values are boolean indicators
                      for whether the fact is true or false.
        """
        self.rules = rules

    def check_fact(self, fact: str) -> bool:
        """
        Check if a given fact matches the predefined rule.

        :param fact: The fact to be checked.
        :return: True if the fact matches the rule, False otherwise.
        """
        return self.rules.get(fact, False)

    def add_rule(self, fact: str, value: bool):
        """
        Add or update a rule in the checker.

        :param fact: The fact to be added or updated.
        :param value: The boolean value of the new rule for this fact.
        """
        self.rules[fact] = value

    def remove_rule(self, fact: str):
        """
        Remove a rule from the checker if it exists.

        :param fact: The fact to be removed.
        """
        if fact in self.rules:
            del self.rules[fact]


# Example usage
def main():
    # Define some initial rules
    rules = {
        "is_raining": True,
        "temperature_above_30": False,
        "wind_speed_greater_than_25_kmh": False
    }
    
    fact_checker = FactChecker(rules)
    
    print(f"Is it raining? {fact_checker.check_fact('is_raining')}")
    # Add a new rule
    fact_checker.add_rule("temperature_above_30", True)
    print(f"Temperature above 30 degrees Celsius: {fact_checker.check_fact('temperature_above_30')}")
    
    # Remove a rule
    fact_checker.remove_rule("wind_speed_greater_than_25_kmh")
    print(f"Wind speed greater than 25 km/h: {fact_checker.check_fact('wind_speed_greater_than_25_kmh')}")


if __name__ == "__main__":
    main()
```

This code defines a `FactChecker` class with methods to check facts against predefined rules, add new rules, and remove existing ones. It also includes an example usage in the `main` function.