AR Rahman set to debut as writer-producer with ’99 Songs’