Move HeaderRule and PathRule AST's to their own objects

Changed CoolService to RhoService etc.