The Capybara all method doesn't wait for the rule checkboxes to appear, but the 'should have_selector' ensures Capybara doesn't act to early. This shouldn't be a problem as long as the checkboxes are visible immediately after page load, but in case they only appear after JavaScript is executed, this should make the step more robust.