Assuming you mean the traditional spiritual "Rock My Soul" (often arranged for guitar), here's a common fingerstyle pattern in open G tuning (D G D G B D) or standard tuning adaptation:
e|----------------|----------------| B|-------0---1----|-------0---1----| G|-----0---0---0--|-----0---0---0--| D|---0------------|---0------------| A|----------------|----------------| E|-3--------------|-3--------------| G C/G G C/G
Pattern: Thumb (bass) on low G (6th string, 3rd fret) or open D (4th string); fingers pluck syncopated melody on top strings. The C/G chord (C with G bass) creates the "rocking" motion.
G – C/G – G – D7 with a boom-chick rhythm (bass note on 1&3, chord on 2&4). Add hammer-ons on B string (1st fret → open) for gospel feel.
Key tip: The "rock" is the alternating bass (root–fifth) driving the 12/8 or 4/4 swing. Keep it relentless.
If you meant a specific rock song ("Rock My Soul" by a band?), clarify—the spiritual is the standard reference.