General guidelines on boundary conditions