Use user-defined 'clean' rule if possible