public SocketRule createSocketRule(int port, String host, Action action, String forwardTo, boolean isActive)
	{
		try
		{
			begin();
			SocketRule socketRule = new SocketRule(port, host, action, forwardTo, isActive);
			manager.persist(socketRule);
			commit();
			
			return socketRule;
		}
		catch(PersistenceException e)
		{
			e.printStackTrace();
			rollback();
			throw e;
		}
	}