Added IDs to rules