Rewrite is a new rule action introduced in Snort 3 that allows modification of packet contents inline, such as rewriting headers or payloads, which was not possible in Snort 2.x. Pass, Generate, and Alert are traditional Snort rule actions available in both Snort 2.x and Snort 3.