"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 09:03:32.148257
"""

```python
from typing import List, Tuple


class FactChecker:
    """
    A class designed to check the validity of facts using a simple rule-based system.

    This fact checker is limited in its reasoning sophistication and can only handle boolean facts.
    """

    def __init__(self):
        self.rules = []

    def add_rule(self, condition: str, result: bool) -> None:
        """
        Add a new rule to the fact checking logic.

        :param condition: A string representing the condition under which the result is true
        :param result: The boolean result of the condition being met
        """
        self.rules.append((condition, result))

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

        :param statement: A string representing the fact to be checked
        :return: True if the fact is valid according to the rules, False otherwise
        """
        for condition, result in self.rules:
            if statement == condition:
                return result
        return False


# Example usage
def main():
    fact_checker = FactChecker()
    
    # Adding some basic rules
    fact_checker.add_rule("The sky is blue", True)
    fact_checker.add_rule("Water boils at 100 degrees Celsius", True)
    fact_checker.add_rule("Gravity is a force of attraction between masses", True)

    # Checking facts
    print(fact_checker.check_fact("The sky is blue"))  # Expected: True
    print(fact_checker.check_fact("Dogs can fly"))     # Expected: False


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

This Python script introduces a basic `FactChecker` class that allows adding rules and checking facts against those rules. The example usage demonstrates how to add simple boolean facts and query the checker with statements to see if they match any of the added rules.