So the rule is...
if you write a genuinely useful app, which Apple then rejects for some whimsical reason or other, release it on Cydial and PATENT IT.
May be worth patenting now anyway. According to Wikipedia the US follows first-to-invent not first-to-file, so even if Apple beat him to it their application should get thrown out.