Merge binary generation rules.