nl_tokens: Reduce source with new rule and / or condition
pl_tokens: function reduceSourceWithRule ( source , rule , condition ) { if ( rule ) { if ( condition && source . condition !== condition ) { // if source rules condition different from rule condition // update source condition source = { condition : condition , // if has more then one rules // regroup source rules tree rules : source . rules . length > 1 ? [ source ] : source . rules } ; } // add new rule <mask> . rules . push ( rule ) ; } return source ; }