Extracting surface rotation periods of solar-like Kepler targets