First things first: there are no formal rules, so there's no answer for questions like "how do I write a guestbook post or a comment so that it definitely passes". This site is private property, and it is on the owner's sole discretion whether to reveal a particular comment or not.
However, there are some hints, and if you ignore them, your comment or post will surely be ignored, too.