copy dev dot
update dev dot with unions
update rules with unions