rules, web gui and tasks window fix