Hello is never rude.
Hi is always fine in informal situations. "Hi" may be slightly less appropriate if you were meeting someone very important or formal. Maybe meeting your boyfriends parents or grandparents for the first time, greeting the president of the company you work for, greeting a judge in their courtroom... In all those cases, Hello is still fine and not at all rude.