Apple opens the iPhone to lotteries

"3.3.17 Your Application may include promotional sweepstake or contest functionality provided that You are the sole sponsor of the promotion and that You and Your Application comply with any applicable laws"

The only limitation is that developers must "clearly state in binding official rules for each promotion that Apple is not a sponsor of, or responsible for conducting, the promotion". Which seems fair enough.