Write python code to Build an API endpoint for request/response transformation using Flask. accepts POST /transform with data and transformation rules; validates rules; applies transformations; returns transformed data. Structure the project as: app/, routes/transform.py, utils/transformer.py. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready.