Small cosmetic fixes. Added examples in the rules db.