A study of bright rims in diffuse nebulae