initial implementation of correction rules