"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-07 03:57:05.675712
"""

```python
from typing import List, Tuple

class ReasoningEngine:
    """
    A simple reasoning engine that can handle limited rule-based logic.
    
    This class implements a basic inference engine capable of evaluating
    statements based on predefined rules and returning conclusions.
    """

    def __init__(self, rules: List[Tuple[str, str]]):
        self.rules = rules

    def add_rule(self, premise: str, conclusion: str) -> None:
        """
        Add a new rule to the reasoning engine.

        Args:
            premise (str): The condition under which the conclusion holds.
            conclusion (str): The resulting statement if the premise is true.
        """
        self.rules.append((premise, conclusion))

    def infer(self, statement: str) -> bool:
        """
        Infer a conclusion based on the provided statement and existing rules.

        Args:
            statement (str): A condition to test against the rules.

        Returns:
            bool: True if the conclusion can be drawn from the rules, False otherwise.
        """
        for premise, conclusion in self.rules:
            if premise == statement:
                return True
        return False

# Example usage
if __name__ == "__main__":
    engine = ReasoningEngine([
        ("It is raining", "Take an umbrella"),
        ("I am hungry", "Eat some food"),
        ("I am full", "Stop eating")
    ])
    
    # Adding a new rule at runtime
    engine.add_rule("The door is unlocked", "Open the door")

    print(engine.infer("It is raining"))  # Should return True, as it matches a known rule
    print(engine.infer("I am tired"))    # Should return False, no matching rule exists
```