ruby rules