add scopes where rule has criteria