Fix topic rule for empty topic

When a topic is empty, topic regular expression never match even if
regular expression is '.*'.

Null topic are now considered a empty topic string.