Mail Rule to Print Message

I’m working with a client to create a rule that will simply print all the incoming messages to a mailbox. In entourage it is quite easy but in Apple’s Mail it’s proving much more difficult.

This is what I have.

using terms from application "Mail"
	on perform mail action with messages theMessages for rule theRule
		repeat with m in theMessages
			try
				print m
			end try
		end repeat
	end perform mail action with messages
end using terms from

Can anyone tell me what I’m doing wrong here?