new heuristics based on contextualized CFG rules