The 18-electron rule applies mainly to transition metals and focuses on having 18 valence electrons for stability. EAN is a broader concept that applies to various compounds, aiming for effective atomic numbers resembling noble gases.