AR Rahman takes legal action against defamatory content