fixed bug with addDiffFrac and added rule params for add same frac