This melodic guitar riff, in the key of Em, goes between two beats of a gallop rhythm, then two beats of a reverse gallop rhythm. All of the 16th notes are palm-muted to emphasize the non muted 8th notes.
Here is the Guitar Pro 6 tab for this lesson:
HEY!!! Does Your Rhythm SUCK!?