"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-08 08:58:15.370012
"""

```python
from typing import List, Dict, Any

class ReasoningEngine:
    """
    A simple reasoning engine that solves problems based on a set of rules.
    This implementation handles limited reasoning sophistication by using a rule-based approach.
    """

    def __init__(self, rules: List[Dict[str, Any]]):
        """
        Initialize the reasoning engine with given rules.

        :param rules: A list of dictionaries containing conditions and actions
                      e.g., [{"condition": lambda x: x > 10, "action": print("Value is greater than 10")}]
        """
        self.rules = rules

    def apply_rules(self, data: Dict[str, Any]) -> None:
        """
        Apply the defined rules to a given piece of data.

        :param data: A dictionary containing key-value pairs that could be used in conditions
        """
        for rule in self.rules:
            condition = rule["condition"]
            action = rule["action"]
            if condition(data):
                action()

# Example usage

# Define some simple rules
rules = [
    {"condition": lambda x: x > 10, "action": print("Value is greater than 10")},
    {"condition": lambda x: x < -5, "action": print("Value is less than -5")}
]

# Create an instance of the reasoning engine with these rules
reasoning_engine = ReasoningEngine(rules)

# Apply the rules to some data
data = {"value": 20}
reasoning_engine.apply_rules(data)  # Output: Value is greater than 10

data = {"value": -7}
reasoning_engine.apply_rules(data)  # Output: Value is less than -5
```