Price Rules That Stack — medium Python for AI problem | Incognition