that rule looks suitable.
you didn't say which version of apache you have installed so the links below refer to the current version (2.4) and if you are on an older version be sure to refer to the corresponding version of the docs.
Apache HTTP Server Tutorial: .htaccess files:
Apache mod_rewrite Introduction - Apache HTTP Server:
Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server: