[core] better communication between graph rules and regex rules (still a mess for the transition)