AR Rahman to attend Cannes