final Selector inCompactableResource = Select.containment(resourceCompactable);
final Selector inASingleBodiesResourceWithTitle = Select.containment(resourceSingleBodyTitle);
final Selector inASingleBodiesResourceWithoutTitle = Select.containment(resourceSingleBodyNoTitle);
final ResourceExpressionElements resourceExpressionAccess = grammarAccess.getResourceExpressionAccess();
final Selector resourceLeftCurlyBracket = Select.grammar(resourceExpressionAccess.findKeywords("{"));
final Selector resourceRightCurlyBracket = Select.grammar(resourceExpressionAccess.findKeywords("}"));
final Selector resourceBodySemicolon = Select.grammar(resourceExpressionAccess.findKeywords(";"));
final Selector optionalResourceEndBodySemicolon = Select.grammar(
resourceExpressionAccess.getSemicolonKeyword_0_1_2_2(), //
resourceExpressionAccess.getSemicolonKeyword_1_3_2());
final Selector elseAndElsifKeywords = Select.grammar(Iterables.concat(
grammarAccess.getIfExpressionAccess().findKeywords("else", "elsif"), //
grammarAccess.getElseIfExpressionAccess().findKeywords("else", "elsif")));