RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.