Ruby rule runner