"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-06 11:30:43.724343
"""

```python
from typing import List, Dict


class Rule:
    def __init__(self, condition: str, conclusion: str):
        self.condition = condition
        self.conclusion = conclusion
    
    def matches(self, data: dict) -> bool:
        return eval(self.condition, {}, {"data": data})
    
    def execute(self) -> str:
        return self.conclusion


class ReasoningEngine:
    def __init__(self, rules: List[Rule]):
        self.rules = rules

    def apply_rules(self, data: Dict[str, any]) -> List[str]:
        """
        Applies the defined reasoning rules to a given dataset.
        
        :param data: A dictionary containing key-value pairs of input data
        :return: A list of conclusions drawn from applying the rules
        """
        results = []
        for rule in self.rules:
            if rule.matches(data):
                results.append(rule.execute())
        return results


# Example usage
def main():
    # Define some simple rules
    rule1 = Rule('data["temperature"] > 30 and data["humidity"] < 60', "It's a hot day, stay hydrated!")
    rule2 = Rule('data["temperature"] <= 30 or data["humidity"] >= 80', "Wear warm clothes or use an umbrella.")
    
    # Create the reasoning engine with these rules
    engine = ReasoningEngine([rule1, rule2])
    
    # Test data
    test_data = {
        "temperature": 25,
        "humidity": 70
    }
    
    # Apply the rules to the test data and print results
    conclusions = engine.apply_rules(test_data)
    for conclusion in conclusions:
        print(conclusion)


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

This code defines a simple `ReasoningEngine` class that can apply predefined rules to a dataset. The example usage demonstrates how to create the engine, define some basic rules, and test it with sample data.