Using a global .dir-locals.el file is a better alternative than reincluding the same emacs header in every file of the project.
override default is_valid method so we can check if rally point is inside the fence, if it isn't we ignore it