Initialize with class rules

This partially reverts 8d57863a1bcb53833c737b04fb7aca83252eb41c