fix create rule button and route