Adil Rashid took 3-5 from 5 overs to put Yorkshire ahead at New Road