implemented xml parser for RepeatBrick + BroadcastBrick