convert config check to rule

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>