Hi!
Yes. What you did is fine. But you can also put your rtl.css directly in the theme directory and not in the css directory. Thus it should work even without the code you added.
NB: You should do this in a child theme rather than modifying your theme.