A RULE BASED MODULAR ENERGY MANAGEMENT X2026