It's not rude but at the same time, returning a compliment shouldn't sound fake. Don't make it look like you are uttering carefully chosen words just for the sake of it. If you genuinely like something about this person, then go ahead. After all, everyone loves a compliment!