Automated edits for branches

I think the algorithm needs several improvements and simplification before further runs. It’s a bit bulky, and it cannot handle certain cases (e.g. AM:PM is either marketplace or convenience, and Clalit can be a clinic or a pharmacy).