Application of the maximum information entropy principle to selforganizing systems