"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-07 01:45:09.225911
"""

```python
from typing import Dict, List

class ReasoningEngine:
    """
    A simple reasoning engine that processes a set of rules and applies them to solve problems.
    
    Attributes:
        rules: A dictionary where keys are conditions represented as strings,
               and values are functions that return the corresponding action if the condition is met.
    """

    def __init__(self):
        self.rules: Dict[str, callable] = {}

    def add_rule(self, condition: str, action: callable) -> None:
        """
        Adds a new rule to the engine.

        Args:
            condition: A string representing the condition to be checked.
            action: A function that should be called if the condition is true.
        """
        self.rules[condition] = action

    def apply_rules(self, facts: Dict[str, bool]) -> List[str]:
        """
        Applies all rules to the given set of facts and returns a list of actions that are applicable.

        Args:
            facts: A dictionary representing the current state of knowledge with keys as strings
                   and boolean values indicating whether each fact is true or false.

        Returns:
            A list of strings, each representing an action that can be taken based on the rules.
        """
        applicable_actions = []
        for condition, action in self.rules.items():
            if all(fact in facts and facts[fact] == eval(condition) for fact in condition.split()[:-1]):
                if eval(condition.split()[-1]):
                    applicable_actions.append(action())
        return applicable_actions

# Example usage
def act_escalate_priority():
    return "Priority escalated!"

def act_increase_budget():
    return "Budget increased by 10%."

reasoning_engine = ReasoningEngine()
reasoning_engine.add_rule("priority_high and budget_low", act_escalate_priority)
reasoning_engine.add_rule("budget_low and management_approval", act_increase_budget)

facts = {
    "priority_high": True,
    "budget_low": True,
    "management_approval": False
}

print(reasoning_engine.apply_rules(facts))
```

This code defines a simple reasoning engine that can process rules based on given facts and apply actions if the conditions are met. The example usage demonstrates adding two rules, setting some facts, and then applying those rules to see which actions should be taken.