Kinetics of allosteric transitions in S-adenosylmethionine riboswitch are accurately predicted from the folding landscape.