WIP on foreground rules cancelling from popup and messaging to content script and on tab update logic