A rugby player swings his leg back to punt the ball.
The person is playing rugby.
The person playing rugby is part of the activity of rugby player swinging his leg.
The person that is a rugby player swings to punt the ball.
swings his leg back to punt the ball is inferred as  playing rugby.