Configure ruby rules to act as intended