Here is another Blues rhythm part, this time using half, quarter and eighth rests. This type of playing is very effective when another musician is playing a solo. The use of longer rests leaves space for other instruments to be heard.
This is an important principle in music generally. If everyone played constantly, the music would sound chaotic and claustrophobic. Learning where to play and where to leave space takes time and experience. Listen to how the musicians interact on your favorite albums and practice what you hear when you are playing with others.