"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 15:03:11.005277
"""

```python
from typing import List, Tuple
from functools import lru_cache

class FactChecker:
    """
    A simple fact-checking system that validates facts based on a predefined set of rules.
    """

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

    @lru_cache(maxsize=1024)
    def check_fact(self, statement: str) -> bool:
        """
        Check if the given statement is a fact based on predefined rules.
        
        :param statement: The statement to check
        :return: True if the statement is considered a fact, False otherwise
        """
        for rule in self.rules:
            if all(word in statement.lower() for word in rule[0].split()):
                return eval(rule[1])
        return False

def create_fact_checker() -> FactChecker:
    """
    Creates and returns an instance of the FactChecker class with predefined rules.
    
    :return: An instance of FactChecker
    """
    # Predefined rules as tuples of keywords and a Python expression to evaluate if it's true
    rules = [
        ("the weather is", "True"),
        ("temperature is above 30", "float('30') < float(statement.split()[-1])")
    ]
    
    return FactChecker(rules)

# Example usage:
if __name__ == "__main__":
    checker = create_fact_checker()
    print(checker.check_fact("The weather is sunny and the temperature is 25 degrees"))  # False
    print(checker.check_fact("The weather is hot with a temperature of 35 degrees"))    # True
```