Text this: Dynamic Inference Approach Based on Rules Engine in Intelligent Edge Computing for Building Environment Control