Take up some good player and observe how he plays it.
Learn his licks. Usually al rock n metal player rely heavily on licks and runs.
Jazz is a different beast. The players there try to stay away from licks as mushc as possible. But if u want the rock style of leads. U just need to listen to the stuff and try to think n reason out why the d00d is playing like that.
And copy it.
Ofcourse you will add your own quirks which will give the leads a personalised flavor.
You donít get what you deserve, you get what you negotiate.