drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/GuvnorDecorator.java
private boolean isGuvnorResource(Object element) {
        if (element instanceof IResource) {
            return GuvnorMetadataUtils.findGuvnorMetadata((IResource)element) != null;
        } else {
            return false;
        }
    }
private boolean isGuvnorResource(Object element) {
        if (element instanceof IResource) {
            return GuvnorMetadataUtils.findGuvnorMetadata((IResource)element) != null;
        } else {
            return false;
        }
    }
$NON-NLS-1$