saving rules from the webinterface