Add rule for setting debug preferences