use boost::format in ref_map
remove boost::split_regex
ff_waf: process rule id