rRule function

Rule for running R scripts