The article presents microgrid with gas micro turbine and PV instal-lation. For such microgrid a two-level structure of a system to man-age the work of microgrid is proposed. Basics of a microgrid man-agement using the rule base processing are outlined. Figure 1 shows the structure of microgrid, which distinguishes two levels of functionality associated with the management of microgrid marked in the figure 1 as LSM (local microgrid controller) and CSM (microgrid central controller). Characteristics of power generation in the present system is dependent on the performance characteristics of each generation equipment, as shown in Figure 2. One of the key issues related to the efficient functioning of the Smart Metering and Smart Grid is a solution of a data processing and the implementation of control functions at the level of microgrid. In such a microgrid structure it is proposed to introduce a rule-based processing on the level of controllers CSM and LSM. The use of rule-based processing requires a transition from numerical record to symbolic record, which allow to achieve the universality that define the state of the current process, eg electricity consumption in a given area at a given level and not numerical values, but for example in the form of terms Green (G), Yellow (Y) or Red (R). Determination of the current state of the energy consumption in different areas of the LSM is the basis for rule-based processing and requires the processing of the rules. The set of example rules is shown at the end of the article.