Gestalts as predictions: Some reflections and an application to art