Applications of rough sets theory in control of foundry processes