implemented rules for topic and title