saving rules from gui done, started with highlevel gui