Clue: Leather whip shortly for breaking rules (7)
Answer: COWHIDE
Explanation: Definition: Leather
An envelope ('for breaking' – 'for' seems out of place and unnecessary) of 'whi[p]' minus its last letter ('shortly') in CODE ('rules').