added many rules, improved config menus, added save/load last config