AR Rahman issues legal notice