Woods penalized two strokes for rules violation