The Spanish manufacturer of cereal-based products, Cerealto, has reached an agreement to buy two factories from local bakery giant Grupo Siro.