adding rules for numerical answers