Rules and documentation added