added ruby rules