Jack Rudoni and Bobby Thomas head the first-half goals as Coventry beat Preston for the first time since 2007.