Experts -
Please let me know, if my understanding is correct.
Rather is an adverb - Ex- I don't want ice cream. I would rather have chocolate. (Here rather is modifying the verb - Have).
"Rather than" is a subordinating conjunction (Not co-ordinating conjunction - Only FANBOYS are co-ordinating conjunctions) - so connects an independent clause to a dependent clause / phrase etc.
Ex-
Rather than paying the taxi fare, he walked home. -
In the above sentence - "He walked home" is independent clause. "Paying the taxi fare" is a phrase.
Thank You !!!