In Pega, class rules support both pattern inheritance (based on class name naming conventions) and directed inheritance (explicitly specified parent classes) during rule resolution. Therefore, class rules belong to both pattern and direct inheritance rather than only one.