API Gateway .cursorrules strategies