This belongs to Article 25 of the Patent Law: The rules and methods of intellectual activities do not grant patent rights.
Similar inventions that cannot be patented include marketing methods, writing methods and so on.