move matching of rules based on content to content scripts

performance++
browsercrashes++
remove functions when creating rules from options