Promotion of deflagration-to-detonation transition by repeated obstacle rods