integrating Rule into project -- working through compiler errors