Conditionally include Doxygen rule

Signed-off-by: Michael Steinert <mike.steinert@gmail.com>