A rule-based Home Energy Management System using the Rete algorithm | IEEE Conference Publication | IEEE Xplore