* Guard against empty rules/views (@DonaldIsFreak).

  Closes #60