renamed currentRuleSrcElement to currentSrcElement