Fixed bug with rule initialisation