skip comments and empty rules