[REFACTOR] Renaming of ruletype to ruleoype