"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-06 08:40:03.717077
"""

```python
class ReasoningEngine:
    """
    A basic reasoning engine to solve limited reasoning problems.
    
    This class implements a simple rule-based system where inputs are matched
    against predefined conditions to generate an output based on those rules.
    """

    def __init__(self, rules: dict):
        """
        Initialize the reasoning engine with a set of rules.

        :param rules: A dictionary where keys are input conditions and values are corresponding outputs.
        """
        self.rules = rules

    def match_rule(self, condition: str) -> str:
        """
        Match the given condition against predefined rules to return an output.

        :param condition: The input condition to be matched against rules.
        :return: The output associated with the matched rule or a default message.
        """
        for key in self.rules.keys():
            if condition == key:
                return self.rules[key]
        return "No matching rule found."

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

        :param condition: The input condition to be matched.
        :param output: The corresponding output for the given condition.
        """
        self.rules[condition] = output

    def run_reasoning(self, input_data: dict) -> str:
        """
        Run the reasoning engine on a set of inputs and return the result.

        :param input_data: A dictionary containing conditions as keys and their associated values.
        :return: The output from the matched rule or a default message.
        """
        results = [self.match_rule(k) for k in input_data.keys()]
        # Assuming we need to find a match, if not return None
        for result in results:
            if result != "No matching rule found.":
                return result
        return "No matching rules found."

# Example usage
if __name__ == "__main__":
    engine = ReasoningEngine({"temperature_high": "Turn on air conditioning",
                              "temperature_low": "Turn on heater"})
    print(engine.run_reasoning({"temperature": 35}))  # Output: Turn on air conditioning
    engine.add_rule("humidity_high", "Activate dehumidifier")
    print(engine.run_reasoning({"humidity": 80, "temperature": 25}))  # Output: Activate dehumidifier
```