Implement changes mentioned in 'Added support for hiera rules configuration #54'