Everything hints to the fact that you cannot convert AVI videos to RAR format in the proper, file conversion sense. However, you could simply compress the AVI and create a RAR archive from it, but that's not avi to rar conversion just file compression.
Open AVI file Open RAR file