From Rule-Based Systems to Artificial Intelligence: A Comparative Review of Modern Cyber Security Approaches | Synapse