fix false positive with sub rulesets inside media block