Phase space reduction of star products on cotangent bundles