"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 23:29:35.189418
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A class for checking the validity of facts based on predefined rules.
    """

    def __init__(self):
        self.rules = {
            'rule1': lambda fact: len(fact) >= 3,
            'rule2': lambda fact: all(char.isalpha() or char.isspace() for char in fact),
            'rule3': lambda fact: not any(word in fact.lower() for word in ['false', 'lie']),
        }

    def check_fact(self, facts: List[str]) -> Dict[str, bool]:
        """
        Check the validity of multiple facts against predefined rules.

        :param facts: A list of strings representing the facts to be checked.
        :return: A dictionary with each fact and its corresponding validation result.
        """
        results = {}
        for fact in facts:
            is_valid = all(rule(fact) for rule in self.rules.values())
            results[fact] = is_valid
        return results


def example_usage():
    """
    Example usage of the FactChecker class to check a list of facts.
    """
    checker = FactChecker()
    facts_to_check = [
        "The sky is blue",
        "Grass can be purple",
        "Apples are fruits and not vegetables",
        "AI will take over the world in 2035"
    ]
    
    results = checker.check_fact(facts_to_check)
    for fact, is_valid in results.items():
        print(f'Fact: "{fact}" is {"valid" if is_valid else "invalid"}')


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