Add --enable-debug option
Fix a bug that filter rule is wrongly applied

This bug is caused by the way of wrong string comparison.

Reported by case. Thanks!!!