If it has just been rebuilt, how many miles has it done? If it's around the 500-mark, now is the time for a thorough once-over. Change the oil, clean the filter (if it has one), check the head and barrel studs for tension, check the clutch and brake adjustments, check the carburettor (idle mix/cable/slide etc) and check the ignition and valve timing.
It sounds like and ignition problem, possibly too far advanced - is it still on the old system or has it been replaced with electronic ignition?
It could be carburettor, perhaps the main jet, but if it's been working fine until now I'd lean more towards ignition.