private void solveInlineExtends(Selector extendingSelector) {
for (RuleSet ruleSet : allRulesets) {
List<Selector> selectors = new ArrayList<Selector>(ruleSet.getSelectors());
for (Selector targetSelector : selectors) {
Selector newSelector = constructNewSelector(extendingSelector, targetSelector);
if (newSelector!=null && canExtend(extendingSelector, newSelector, ruleSet)) {
doTheExtend(extendingSelector, newSelector, ruleSet, targetSelector);
}
}