R# code rules