Clean doc in rule clean.