This is a pun on 'align' which in this context means to come together in agreement or alliance, but it's also used because 'align' can also mean lie in a straight line, or in correct relative positions and if you use a ruler to make these you'll get a straight line 
Two companies that manufactured rulers decided to align .