Fuzzy rule-based approach to real-time scheduling