An Automated Rule Generator (R2) Based on the Rough Sets