[build][core] merge regex rules now use tokens for disambiguation