[build][core][bug] generate rules with multiple tokens