Slight refactoring to make lifelib ready to support hexagonal rules

1 job for master in 3 minutes and 13 seconds
Status Job ID Name Coverage
  Test
passed #128310870
test

00:03:13